package com.java.array;

public class ArrayDemo {
    public static void main(String[] args) {
        //定义数组
        int[] array = new int[5];
        System.out.println("定义了数组,长度为："+ array.length);
        System.out.println("默认值是："+ array[0]);

        int[] array1 = new int[]{10,20,55,23,99};
        System.out.println("第3个元素为："+array1[5]);
    }
}
